<?php
    require_once "config.php";
    if($_SERVER['REQUEST_METHOD'] == 'POST'){
        $con = $_POST['con'];
        $obj = $_POST['obj'];
        switch($obj){
            case 'jubao':
                $result['states'] = 'y';
                $result['info'] = '视频举报成功';
                exit(json_encode($result));
            break;
            case 'tousu':
                $result['states'] = 'y';
                $result['info'] = '视频投诉成功';
                exit(json_encode($result));
            break;
            case 'lahei':
                $result['states'] = 'y';
                $result['info'] = '视频拉黑成功';
                exit(json_encode($result));
            break;
        }

    }
 ?>
